<?php
	switch (trim($_GET["view"])) {
	
		case "":
			$core_class->_redirect(".");
		break;
		
		case "session":
		
			switch (trim($_GET["task"])) {
				case "":
					include_once("com_content.session.view.php");
				break;

				case "view":
				include_once("com_content.session.view.php");
				break;								
				
				default:
					include_once("com_content.session.view.php");
				break;
			}
			
		break;
		
		case "category":
		
			switch (trim($_GET["task"])) {
				case "":
					include_once("com_content.category.view.php");
				break;

				case "view":
				include_once("com_content.category.view.php");
				break;								
				
				default:
					include_once("com_content.category.view.php");
				break;
			}
			
		break;
		
		case "article":
		
			switch (trim($_GET["task"])) {
				case "":
					include_once("com_content.article.view.php");
				break;

				case "view":
				include_once("com_content.article.view.php");
				break;								
				
				default:
					include_once("com_content.article.view.php");
				break;
			}
			
		break;
		
		case "search.detail":
		
			include_once("com_content.search.detail.view.php");
			
		break;

		
		default:
			$core_class->_redirect(".");
		break;
	
	}
?>